package com.wenx.v3system.modular.platform.domain.query;

import com.wenx.base.domain.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 平台用户查询条件
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "平台用户查询条件")
public class PlatformUserQuery extends BaseQuery<Object> {

    @Schema(description = "用户名（模糊查询）", example = "admin")
    private String username;

    @Schema(description = "真实姓名（模糊查询）", example = "管理员")
    private String realName;

    @Schema(description = "邮箱（模糊查询）", example = "admin@example.com")
    private String email;

    @Schema(description = "手机号（模糊查询）", example = "138")
    private String phone;

    @Schema(description = "用户类型", example = "platform")
    private String userType;

    @Schema(description = "用户状态：1-正常，2-锁定，0-禁用", example = "1")
    private Integer status;

    @Schema(description = "角色编码", example = "platform_admin")
    private String roleCode;

    @Schema(description = "是否启用双因子认证", example = "true")
    private Boolean twoFactorEnabled;
} 